﻿using DGZImp.MdsProject.Devices.Models;
using DGZImp.MdsProject.DomainModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DGZImp.MdsProject.Models
{
    public class MdsDtos
    {
    }

    public class ResMdsDeviceData
    {
        public Mds_RealDevice Device { get; set; }

        public List<PropsItem> Data { get; set; }
        public List<DeviceActionInfo> Actions { get; set; }
    }

    public class PropsItem
    {
        public string Name { get; set; }
        public string Description { get; set; }
        public object Value { get; set; } = null;
    }

    public class ReqExecuteAction
    {
        public long? RealDeviceId { get; set; }
        public string MethodName { get; set; }
        public List<object> Arguments { get; set; } = new List<object>();
    }
}
